package icu.groot.alan.hotel.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import icu.groot.alan.hotel.entity.dao.OrderDo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
@Repository
public interface OrderMapper  extends BaseMapper<OrderDo> {
    List<OrderDo> selectByTime(@Param("checkinStartTime") LocalDateTime checkinStartTime, @Param("checkinEndTime") LocalDateTime checkinEndTime);
}
